/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-06-25     hehung       the first version
 */
#ifndef SRC_APP_DISPLAY_H_
#define SRC_APP_DISPLAY_H_


typedef enum
{
    DISP_INIT = 0,
    DISP_TIME,
    DISP_WAVEFORM,
    DISP_SETTING,
    DISP_UPDATE_WEATHER
} e_DispFlag;


typedef enum
{
    SETTING_UPDATE_NTP = 0,
    SETTING_UPDATE_WEATHER,
    SETTING_EXIT
} e_SettingType;


extern void Disp_TaskCreate(void);
extern void Disp_KeyShortPress(void);
extern void Disp_KeyLongPress(void);
extern e_DispFlag Disp_GetDispFlag(void);
extern void Disp_SetDispFlag(e_DispFlag flag);
extern void Disp_SetLastDispFlag(void);
extern void Disp_NtpUpdateSucc(void);
extern void Disp_WeatherUpdateSucc(void);


#endif /* SRC_APP_DISPLAY_H_ */
